<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
  <%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <link rel="stylesheet" type="text/css" href="css/displaytag.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lista de Pasajes</title>
<meta name="keywords" content="carousel theme, free templates, image carousel, darkgray, pixelated background, templatemo, CSS, HTML" />
<meta name="description" content="Carousel Theme with darkgray background - free CSS template provided by templatemo.com" />
<link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="js/jquery-1-4-2.min.js"></script> 
<!--script type="text/javascript" src="/jqueryui/js/jquery-ui-1.7.2.custom.min.js"></script--> 
<script type="text/javascript" src="js/jquery-ui.min.js"></script> 
<script type="text/javascript" src="js/showhide.js"></script> 
<script type="text/JavaScript" src="js/jquery.mousewheel.js"></script> 

<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />

<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddsmoothmenu.js">

/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

</script>

<script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "templatemo_menu", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

</script> 

<!-- Load the CloudCarousel JavaScript file -->
<script type="text/JavaScript" src="js/cloud-carousel.1.0.5.js"></script>
 
<script type="text/javascript">
$(document).ready(function(){
						   
	// This initialises carousels on the container elements specified, in this case, carousel1.
	$("#carousel1").CloudCarousel(		
		{			
			reflHeight: 40,
			reflGap:2,
			titleBox: $('#da-vinci-title'),
			altBox: $('#da-vinci-alt'),
			buttonLeft: $('#slider-left-but'),
			buttonRight: $('#slider-right-but'),
			yRadius:30,
			xPos: 480,
			yPos: 32,
			speed:0.15,
		}
	);
});
 
</script>

</head>

<body id="home">
<%@ page session="true" %>
<%
String usuario = "";
HttpSession sesionOk = request.getSession();
if (sesionOk.getAttribute("idPasaj") == null) {
	%>
	<jsp:forward page="login.jsp">
	<jsp:param name="errorLogin" value="Es
	obligatorio identificarse"/>
	</jsp:forward>
	<%
}
%>
<jsp:include page="header.jsp"></jsp:include>	

<center>
<display:table name="${listaPasajes}" id="dt"  pagesize="10" decorator="ar.com.viajes.decorator.DisplayTableDecorator">

<display:column property="id"  title="ID"/>
<display:column property="viaje.empresa.nombre"  title="EMPRESA" />
<display:column property="viaje.ciudad.nombre"  title="CIUDAD" />
<display:column property="viaje.precio"  title="PRECIO" />
<display:column property="pasajero.nombre"  title="PASAJERO"/>
<display:column property="fecha"  title="FECHA"/>
<display:column property="forma_pago"  title="FORMA DE PAGO"/>
<display:column property="estado"  title="ESTADO"/>
 <display:column title="GENERAR TICKET " property="linkTicket"/> 

</display:table>
<a href="listaViajes.do">Lista de Viajes</a>
</center>





<div id="templatemo_bottom_wrapper">
    <div id="templatemo_bottom">
    	<div class="col one_third">
        	<h4><span></span></h4>
           
        </div>
        <div class="col one_third">
        	<h4><span></span></h4>
           
        </div>
        <div class="col one_third no_margin_right">
        	<h4><span></span></h4>
        </div>
    	<div class="cleaner"></div>
    </div> <!-- END of tempatemo_bottom -->
</div> <!-- END of tempatemo_bottom_wrapper -->

<jsp:include page="footer.jsp"></jsp:include>
<script type='text/javascript' src='js/logging.js'></script>
</body>
</html>